<template>
  <div id="UserLayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header">
        <a-space>
          <img src="../assets/oj-logo.png" class="logo" />
          <div>OnlineJudge</div>
        </a-space>
      </a-layout-header>

      <a-layout-content class="content">
        <router-view />
      </a-layout-content>

      <a-layout-footer class="footer">
        <a
          href="#"
          style="
             {
              flood-color: #ffffff;
              color: white;
              font-size: 20px;
            }
          "
        >
          OnlineJudge系统</a
        ></a-layout-footer
      >
    </a-layout>
  </div>
</template>

<style scoped>
#UserLayout {
  background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
  background-size: cover;
}

#UserLayout .header {
  margin-top: 10px;
  flood-color: #ffffff;
  color: #ffffff;
}

#UserLayout .content {
  padding: 20px;
  text-align: center;
}

#UserLayout .footer {
  padding: 16px;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}

#UserLayout .logo {
  margin-left: 10px;
  height: 80px;
  width: 80px;
}
</style>
<script setup lang="ts"></script>
